﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace OA.Models
{
    /// <summary>
    ///  审批节点
    /// </summary>
    public class ApproveNode
    {
        [Key]
        public int Id { get; set; }

        [DisplayName("上一节点")]
        public int? PrevId { get; set; }
        [DisplayName("指向表单")]
        public int ApplicationFormId { get; set; }
        [DisplayName("是否处理")]
        public bool IsDone { get; set; }
        [DisplayName("处理结果")]
        public int Result { get; set; }
        [DisplayName("处理备注")]
        public string Note { get; set; }
        [DisplayName("处理日期")]
        public DateTime? Date { get; set; }
        

        [DisplayName("处理人Id")]
        public int ProcessorId { get; set; }
        [DisplayName("处理人")]
        public string Processor { get; set; }
    }
}
